package com.haixee.parkdemo.auth.entity.request;

import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;


@Data
public class OrganizeRequest {

    @Schema(
        description = "园区", requiredMode = Schema.RequiredMode.REQUIRED
    )
    private Integer tenantId;

    @Schema(
            description = "上级节点", requiredMode = Schema.RequiredMode.REQUIRED
    )
    private Integer parentId;

    private Integer id;

    @Hidden
    private Byte type;

    @Schema(
            description = "名称", requiredMode = Schema.RequiredMode.REQUIRED
    )
    private String name;

    @Hidden
    private Boolean isJob;

    @Hidden
    private Boolean isManage;

    @Hidden
    private List<Integer> roleIdList;
}
